﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CONEK911Manager.DAO;
using CONEK911Manager.DTO;

namespace CONEK911Manager.BUS
{
    class AccountBUS
    {
        readonly AccountDAO _accountDao = new AccountDAO();
        public bool AddAccount(AccountDTO account)
        {
            return _accountDao.AddAccount(account);
        }
        public List<AccountDTO> GetAllAccount()
        {
            return _accountDao.GetAllAccount();
        }
    }
}
